<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />

    <title>First</title>
  </head>

  <body>
    <!-- 引入顺序必须按照先引入核心库的顺序，否则报错  -->
    <div id="root"></div>

    <script src="../js/react.development.js"></script>

    <!-- <script src="../js/prop-types.js"></script> 目前没什么用 -->
    <script src="../js/react-dom.development.js"></script>
    <script src="../js/babel.min.js"></script>

    <script type="text/babel">
      const VDOM = <h1>Hello,React</h1>;
      ReactDOM.render(VDOM, document.getElementById("root"));
    </script>
  </body>
</html>
